import {request} from 'umi';
import {modulesUrl} from "@/assets/constant/modulesUrl";
import {getApiPrefix} from "@/assets/utils/utils";

/**
 * 获取当前用户的菜单权限
 * @param
 */
export async function treeDataCurrentUser() {
  return request(getApiPrefix(modulesUrl.sysMenu) + "/treeDataCurrentUser");
}
